package com.farah.lease.web.app.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.farah.lease.model.entity.BrowsingHistory;
import com.farah.lease.web.app.vo.history.HistoryItemVo;

/**
 * @Author 不爱跑步的法拉韶
 * @Date 2024-06-25__07:06
 * @Description 浏览历史记录
 **/
public interface BrowsingHistoryService extends IService<BrowsingHistory> {

    void saveHistory(Long userId, Long roomId);
    IPage<HistoryItemVo> pageHistoryItemByUserId(Page<HistoryItemVo> page, Long userId);
}
